/* pages/orderConfirm/orderConfirm.wxss */

page {
  background: #f5f6f8;
}

.container {
  padding: 30rpx;
}

.product-info-container {
  width: 610rpx;
  height: 218rpx;
  background: #ffffff;
  border-radius: 20rpx;
  padding: 30rpx 40rpx;
  display: flex;
  flex-direction: column;

  .product-info-wrapper {
    display: flex;

    .product-info-content {
      margin-left: 30rpx;
      display: flex;
      flex-direction: column;
      justify-content: space-between;

      .product-info-title {
        font-size: 30rpx;
        font-weight: 600;
        color: #262626;
        line-height: 30rpx;
      }

      .product-info-desc {
        text {
          margin-top: 23rpx;
          display: block;
          font-size: 24rpx;
          font-family: PingFang SC;
          font-weight: 400;
          color: #828384;
          line-height: 24rpx;
        }
      }
    }

    image {
      width: 118rpx;
      height: 154rpx;
      padding: 6rpx;
      border: 1rpx solid #e4e6e7;
    }
  }

  .product-info-price {
    align-self: flex-end;

    text {
      font-size: 20rpx;
      font-family: PingFang SC;
      font-weight: 600;
      color: #262626;
      line-height: 20rpx;
    }
  }
}

.order-addr-wrapper {
  margin-top: 20rpx;
  width: 610rpx;
  height: 220rpx;
  padding: 0rpx 40rpx;
  background: #ffffff;
  border-radius: 20rpx;

  display: flex;
  flex-direction: column;
  justify-content: center;

  .addr-top {
    display: flex;
    align-items: center;

    image {
      height: 35rpx;
      width: 35rpx;
    }

    text {
      margin-left: 17rpx;
      flex: 1;
      font-size: 28rpx;
      font-weight: 600;
      color: #262626;
      line-height: 28rpx;
    }

    .addr-text {
      font-size: 24rpx;
      font-weight: 400;
      color: #828384;
      line-height: 24rpx;
    }

    .arrow-right {
      height: 24rpx;
      width: 13rpx;
    }
  }

  .divider {
    width: 610rpx;
    height: 1px;
    background: #E4E6E7;
    border-radius: 1px;
    margin-top: 40rpx;
    margin-bottom: 20rpx;
  }

  .addr-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;

    text {
      font-size: 24rpx;
      font-weight: 400;
      color: #828384;
      line-height: 24rpx;
    }

    button {
      width: 240rpx;
      height: 66rpx;
      background: #56C86A;
      border-radius: 10rpx;
      padding: 0;
      margin: 0;
      display: flex;
      align-items: center;
      justify-content: center;

      text {
        margin-left: 11rpx;
        font-size: 24rpx;
        font-weight: 600;
        color: #FFFFFF;
      }

      image {
        height: 31rpx;
        width: 36rpx;
      }
    }
  }
}

.order-phone-wrapper {
  margin-top: 20rpx;
  width: 610rpx;
  height: 120rpx;
  background: #ffffff;
  border-radius: 20rpx;
  padding: 0 40rpx;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: end;

  font-size: 28rpx;
  font-weight: 600;
  color: #262626;

  .order-phone-title {
    font-size: 28rpx;
    font-weight: 400;
    color: #262626;
  }

  input {
    margin-left: 30rpx;
    flex: 1;
  };
}

.order-remark-container {
  padding: 40rpx;
  margin-top: 20rpx;
  width: 610rpx;
  background: #ffffff;
  border-radius: 20rpx;
  display: flex;
  flex-direction: column;

  text {
    font-size: 28rpx;
    font-weight: 400;
    color: #262626;
    line-height: 28rpx;
  }

  textarea {
    margin-top: 39rpx;
    font-size: 28rpx;
    font-weight: 500;
  }
}

.placeholder {
  font-size: 22rpx;

  font-weight: 400;
  color: #aaaaaa;
}

.bottom-bar-wrapper {
  position: fixed;
  bottom: 0;
  width: 630rpx;
  padding-left: 60rpx;
  padding-right: 60rpx;
  height: 170rpx;
  background: #ffffff;
  padding-bottom: env(safe-area-inset-bottom);
  /* 兼容 iOS < 11.2 */
  padding-bottom: constant(safe-area-inset-bottom);

  display: flex;
  justify-content: space-between;
  align-items: center;

  .total-price-1 {
    font-size: 24rpx;
    font-weight: 600;
    color: #262626;
    line-height: 24rpx;
  }

  .total-price-2 {
    font-size: 24rpx;
    font-weight: 600;
    color: #f44b44;
    line-height: 24rpx;
  }

  .total-price-3 {
    font-size: 40rpx;
    font-weight: 600;
    color: #f44b44;
    line-height: 40rpx;
  }

  .pay-button {
    width: 240rpx;
    height: 100rpx;
    background: #555df5;
    border-radius: 50rpx;

    font-size: 30rpx;
    font-weight: 600;
    color: #ffffff;
    line-height: 100rpx;
    padding: 0;
    margin: 0;
  }
}